home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1998 June / SGI Freeware 1998 June.iso / dist / fw_ATxgopher.idb / usr / freeware / src / xgopher.1.3 / Xgopher-secure.ad.z / Xgopher-secure.ad
Text File  |  1998-01-21  |  10KB  |  247 lines

  1. ! ============================================================================
  2. ! ----- Xgopher version 1.3 resources
  3. ! ----- Customized for the Public Touch Screen terminal
  4. ! ----- used at the University of Illinois at Urbana-Champaign
  5. !
  6. ! ----- The major differences between the default resources and those in
  7. ! ----- this file are 1) security setting to disallow unsafe access,
  8. ! ----- shell escapes, and file saving; 2) larger fonts and panel sizes
  9. ! ----- to accomidate "fat fingers" on the touch screen.  An extended
  10. ! ----- type provides a gateway to NovaNet for additional data.
  11. ! ============================================================================
  12.  
  13. ! ============================================================================
  14. ! ----- The resource "defaultsInstalled" MUST be set to TRUE -----------------
  15. ! ----- The following two lines must not be changed          -----------------
  16. ! ============================================================================
  17.  
  18. Xgopher.defaultsInstalled:        True
  19. Xgopher.resourcesVersion:        1.3
  20.  
  21. ! ============================================================================
  22. ! ----- Non-standard location for help and bookmarks         -----------------
  23. ! ============================================================================
  24.  
  25. Xgopher.helpFile:                       /usr/public-user/xgopher.help
  26. Xgopher.bookmarkFile:                   /usr/public-user/gopher-bookmarks
  27.  
  28. ! ============================================================================
  29. ! ----- security
  30. ! ----- publicMode sets lots of security related resources for us.
  31. ! ============================================================================
  32.  
  33. Xgopher.publicMode:            True
  34. Xgopher.allowFtp:            False
  35. Xgopher.restartButton:            False
  36. Xgopher.swapRestartAndQuit:        True
  37. !
  38. Xgopher.allowImage:            True
  39. Xgopher.imageServers:            gopher.uiuc.edu \
  40.                     gopher.cso.uiuc.edu \
  41.                     128.174.33.160 \
  42.                     gopher2.cso.uiuc.edu \
  43.                     harpoon.cso.uiuc.edu \
  44.                     128.174.33.182 \
  45.                     wx.atmos.uiuc.edu \
  46.                     128.174.80.10
  47. !
  48. Xgopher.hasSound:            True
  49. Xgopher.soundServers:            gopher.uiuc.edu \
  50.                     gopher.cso.uiuc.edu \
  51.                     gopher2.cso.uiuc.edu \
  52.                     harpoon.cso.uiuc.edu \
  53.                     128.174.33.160 \
  54.                     128.174.33.182
  55.  
  56.  
  57. ! ============================================================================
  58. ! ----- behavior
  59. ! ============================================================================
  60.  
  61. Xgopher.warpCursor:            True
  62. Xgopher.doubleClick:            False
  63. Xgopher.logFile:            
  64.  
  65. Xgopher.concurrentText:            1
  66. Xgopher.commonText:            True
  67. Xgopher.allowHold:            False
  68.  
  69. ! ============================================================================
  70. ! ----- extended type definitions
  71. ! ============================================================================
  72.  
  73. Xgopher.extendedTypes:            NM
  74. Xgopher.typeN.dataType:            none
  75. Xgopher.typeN.execCommand:        portal %s -g +10+10
  76. Xgopher.typeN.description:        NovaNet gateway
  77. Xgopher.typeN.prefix:            <Nov>
  78.  
  79. Xgopher.typeM.sameAs:            N
  80. Xgopher.typeM.description:        MTD bus schedule program
  81. Xgopher.typeM.execCommand:        portal %s -g +250+190
  82. Xgopher.typeM.prefix:            <MTD>
  83.  
  84. ! ============================================================================
  85. ! ----- external commands
  86. ! ============================================================================
  87.  
  88. Xgopher.printCommand:            /bin/false
  89. Xgopher.telnetCommand:            /bin/false
  90. Xgopher.tn3270Command:            /bin/false
  91. Xgopher.imageCommand:            xloadimage -quiet
  92. Xgopher.soundCommand:            cat > /dev/audio
  93.  
  94.  
  95. ! ============================================================================
  96. ! ----- X resources for text fonts -------------------------------------------
  97. ! ============================================================================
  98.  
  99. !      ..... these fonts are good for touch screen terminal .....
  100.  
  101. Xgopher*font:            -b&h-lucidatypewriter-bold-r-normal-*-24-*-75-75-m-*-iso8859-*
  102. Xgopher*Command.font:        -*-helvetica-*-r-*-*-*-240-75-*-*-*-*-*
  103. Xgopher*MenuButton.font:    -*-helvetica-*-r-*-*-*-240-75-*-*-*-*-*
  104. Xgopher*status.font:        -*-helvetica-bold-r-*-*-*-180-75-*-*-*-*
  105. Xgopher*textDisplay*font:    -*-courier-*-r-*-*-18-*-75-75-m-*-iso8859-*
  106. Xgopher*csoText*font:        -*-courier-*-r-*-*-18-*-75-75-m-*-iso8859-*
  107. Xgopher*errorDialog*font:    -*-helvetica-*-r-*-*-*-180-75-*-*-*-*-*
  108. Xgopher*infoDialog*font:    -*-helvetica-*-r-*-*-*-180-75-*-*-*-*-*
  109. Xgopher*saveDialog*font:    -*-helvetica-*-r-*-*-*-180-75-*-*-*-*-*
  110. Xgopher*indexForm*font:        -*-helvetica-*-r-*-*-*-240-75-*-*-*-*-*
  111. Xgopher*versionBox*font:    -*-helvetica-*-r-*-*-*-180-75-*-*-*-*-*
  112.  
  113. !     ..... another set
  114.  
  115. ! Xgopher*font:            -*-times-medium-r-*-*-26-*-75-*-*-*-iso8859-*
  116. ! Xgopher*Command.font:        -*-helvetica-*-r-*-*-*-240-75-*-*-*-*-*
  117. ! Xgopher*MenuButton.font:    -*-helvetica-*-r-*-*-*-180-75-*-*-*-*-*
  118. ! Xgopher*status.font:        -*-helvetica-bold-r-*-*-*-180-75-*-*-*-*
  119. ! Xgopher*textDisplay*font:    -*-times-medium-r-*-*-*-180-75-*-*-*-*-*
  120. ! Xgopher*csoText*font:        -*-times-medium-r-*-*-*-180-75-*-*-*-*-*
  121.  
  122.  
  123. ! ============================================================================
  124. ! ----- X resources for text labels ------------------------------------------
  125. ! ============================================================================
  126.  
  127. Xgopher*statusForm*quit.label:        Restart
  128. Xgopher*otherActionsMenu*restart.label:    Quit
  129. Xgopher*bookmarkTitle.label:        Special Items of Interest
  130.  
  131. ! ============================================================================
  132. ! ----- special resources for scrollbars and translations.  Also disable
  133. ! ----- <ctrl>d for quitApp action
  134. ! ============================================================================
  135.  
  136. *Scrollbar.Thickness:                   25
  137. *Scrollbar.Translations: \
  138.     <Btn1Down>:StartScroll(Continuous)MoveThumb()NotifyThumb()\n\
  139.     <Btn1Motion>: MoveThumb()NotifyThumb()\n\
  140.     <BtnUp>:   NotifyScroll(Proportional)EndScroll()\n\
  141.     <Key>F35:  StartScroll(Forward)NotifyScroll(Proportional)EndScroll()\n\
  142.     <Key>F29:  StartScroll(Backward)NotifyScroll(Proportional)EndScroll()\n
  143. !
  144. Xgopher*gopherPanel*Label*translations:    #override \n\
  145.             <Btn1Down>: unselectAll()
  146. Xgopher*gopherPanel*translations:    #override \n\
  147.             <Key>u: up()
  148.  
  149. ! ============================================================================
  150. ! ----- popup shell positioning
  151. ! ============================================================================
  152.  
  153.  
  154. Xgopher.csoPopup.xPosition:            0
  155. Xgopher.csoPopup.xPercent:            False
  156. Xgopher.csoPopup.yPosition:            50
  157. Xgopher.csoPopup.yPercent:            False
  158. Xgopher.csoPopup.horizontalJustification:    Left
  159. Xgopher.csoPopup.verticalJustification:        Top
  160. Xgopher.csoPopup.positionFrom:            Application
  161.  
  162. Xgopher.textPopup.xPosition:            0
  163. Xgopher.textPopup.xPercent:            False
  164. Xgopher.textPopup.yPosition:            50
  165. Xgopher.textPopup.yPercent:            False
  166. Xgopher.textPopup.horizontalJustification:    left
  167. Xgopher.textPopup.verticalJustification:    top
  168. Xgopher.textPopup.positionFrom:            Application
  169.  
  170. Xgopher.versionPopup.xPosition:            50
  171. Xgopher.versionPopup.xPercent:            True
  172. Xgopher.versionPopup.yPosition:            50
  173. Xgopher.versionPopup.yPercent:            False
  174. Xgopher.versionPopup.horizontalJustification:    center
  175. Xgopher.versionPopup.verticalJustification:    top
  176. Xgopher.versionPopup.positionFrom:        Application
  177.  
  178. Xgopher.indexPopup.xPosition:            50
  179. Xgopher.indexPopup.xPercent:            True
  180. Xgopher.indexPopup.yPosition:            50
  181. Xgopher.indexPopup.yPercent:            True
  182. Xgopher.indexPopup.horizontalJustification:    Center
  183. Xgopher.indexPopup.verticalJustification:    Center
  184. Xgopher.indexPopup.positionFrom:        Application
  185.  
  186. Xgopher.errorPopup.xPosition:            50
  187. Xgopher.errorPopup.xPercent:            True
  188. Xgopher.errorPopup.yPosition:            50
  189. Xgopher.errorPopup.yPercent:            True
  190. Xgopher.errorPopup.horizontalJustification:    Center
  191. Xgopher.errorPopup.verticalJustification:    Center
  192. Xgopher.errorPopup.positionFrom:        Screen
  193.  
  194. Xgopher.fatalErrorPopup.xPosition:        50
  195. Xgopher.fatalErrorPopup.xPercent:        True
  196. Xgopher.fatalErrorPopup.yPosition:        50
  197. Xgopher.fatalErrorPopup.yPercent:        True
  198. Xgopher.fatalErrorPopup.horizontalJustification: Center
  199. Xgopher.fatalErrorPopup.verticalJustification:    Center
  200. Xgopher.fatalErrorPopup.positionFrom:        Screen
  201.  
  202. Xgopher.infoPopup.xPosition:            50
  203. Xgopher.infoPopup.xPercent:            True
  204. Xgopher.infoPopup.yPosition:            50
  205. Xgopher.infoPopup.yPercent:            True
  206. Xgopher.infoPopup.horizontalJustification:    Center
  207. Xgopher.infoPopup.verticalJustification:    Center
  208. Xgopher.infoPopup.positionFrom:            Screen
  209.  
  210. ! ============================================================================
  211. ! ----- X layout resources that should not be changed ------------------------
  212. ! ----- Changing these can cause the gopher displays to appear corrupted -----
  213. ! ============================================================================
  214.  
  215. Xgopher*directoryForm.showGrip:        False
  216.  
  217. Xgopher.minHeight:            400
  218. Xgopher.minWidth:            400
  219. Xgopher*geometry:                       +50+25
  220. Xgopher*gopherPanel.orientation:    vertical
  221. Xgopher*statusForm.resizeToPreferred:    True
  222. Xgopher*statusForm.SkipAdjust:        True
  223. Xgopher*statusForm.showGrip:        False
  224. Xgopher*goBox.resizeToPreferred:    True
  225. Xgopher*goBox.SkipAdjust:        True
  226. Xgopher*goBox.showGrip:            False
  227. Xgopher*goBox.spacer.borderWidth:    0
  228. Xgopher*goBox.spacer.width:        20
  229. Xgopher*goBox.spacer.height:        10
  230. Xgopher*goBox.min:            50
  231. Xgopher*goBox.max:            100
  232. Xgopher*directoryForm.min:        60
  233. Xgopher*directoryForm.preferredPaneSize:500
  234. Xgopher*bookmarkForm.preferredPaneSize:    185
  235. Xgopher*directoryView.forceBars:    True
  236. Xgopher*bookmarkView.forceBars:        True
  237. Xgopher*directoryView.borderWidth:    1
  238. Xgopher*bookmarkView.borderWidth:    1
  239. Xgopher*directoryTitle.borderWidth:    0
  240. Xgopher*bookmarkTitle.borderWidth:    0
  241. Xgopher*status.borderWidth:        5
  242. Xgopher*status.width:            900
  243. Xgopher*directoryTitle.width:        900
  244. Xgopher*bookmarkTitle.width:        900
  245. Xgopher*directory.width:        900
  246. Xgopher*bookmark.width:            900
  247.